//
//  ChapterDetailViewController.h
//  VNBooks
//
//  Created by Steve Hai on 12/25/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ChapterWebView.h"

@class Chapter;

@interface ChapterDetailViewController : UIViewController{
    UIWebView *chapterWebView;
    UIView *titleView;
    UIImageView *titleImageView;
    UIButton *backButon;
    UILabel *chapterNameLabel;
    UIButton *likeButton;
    BOOL showTitleView;
    Chapter *chapter;
}

@property (nonatomic, retain) IBOutlet UIWebView *chapterWebView;
@property (nonatomic, retain) IBOutlet UIView *titleView;
@property (nonatomic, retain) IBOutlet UIImageView *titleImageView;
@property (nonatomic, retain) IBOutlet UIButton *backButon;
@property (nonatomic, retain) IBOutlet UILabel *chapterNameLabel;
@property (nonatomic, retain) IBOutlet UIButton *likeButton;
@property (nonatomic, assign) Chapter *chapter;

- (IBAction)backButtonPressed;
- (IBAction)like:(id)sender;
- (void)loadContentWithChapterId:(NSNumber *)chapterId;

@end
